<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>汽车4S店客服处理页面</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" type="text/css" href="CSS/talkWork.css">
  </head>
  
  <body>
  	<% request.setCharacterEncoding("UTF-8"); %>
    <div class="box">
    	<div class="mytitle">
    		汽车4S店竭诚为您服务
    	</div>
    	<ul class="linkUser">
    		<c:if  test="${sessionScope.mylist!=null}">
    			<c:forEach items="${sessionScope.mylist}" var="myUser">
    				<li class="userlist">${myUser}</li>
    			</c:forEach>
    		</c:if>
    		<c:if test="${sessionScope.mylist==null}">
    			<li class="noUser">空空如也</li>
    		</c:if>
    	</ul>
    	<div class="getmess">
    		<div class="show">暂未选择任何用户</div>
    		<div class="talkText"></div>
	    	<div class="inText">
	    		<textarea rows="5" cols="4"></textarea>
	    		<input type="button" value="发送">
	    	</div>
    	</div>
    </div>
    
    <!-- 加载外部jquery.js -->
    <script type="text/javascript" src="JS/jquery-3.1.0.js"></script>
    <!-- 加载聊天页面自己写的js -->
    <script type="text/javascript" src="JS/talkWork.js"></script>
  </body>
</html>
